import { _decorator, Component, Node, EventTarget } from 'cc';
const { ccclass, property } = _decorator;

export const eventTarget = new EventTarget();

//定义事件类型
export enum GameEvent{
    PLAYER_HP_CHANGED = 'player-hp-changed',
    PLAYER_DIED = 'player-died'
}


